import masterEvent from '@/events/masterEvent';
export const qiankun = {
  // 应用加载之前
  async bootstrap(props) {},
  // 应用 render 之前触发
  async mount(props) {
    masterEvent.bindEvent();
    masterEvent.getMasterState();
  },
  // 应用卸载之后触发
  async unmount(props) {
    masterEvent.removeListener();
  },
};
